implemented changing user profile
added alert message
added validation for old password