def admin_delete_user(username):
    """
    In GET request
        - Deletes the user with the corresponding username.
    """
    if request.method == 'GET':
        if 'user' in session:
            is_admin = (requests.get(url='http://127.0.0.1:8080/is-admin/{}'.format(session['user'])).content).decode("utf-8") # Done
            if is_admin == "True":
                requests.post(url='http://127.0.0.1:8080/admin-delete-user', data={'username' : username})
                return redirect(url_for('admin_list_users'))
            else:
                abort(403)
        else:
            return redirect(url_for('login_form'))