Adding ajax to user management