Added mime email message instead of plain text mail for forgot password.
Better handling for changing user profile