Added AJAX for editing user profile and modified users_controller