code changes done for view edit profile