password encryption issue on user profile and user edit