Added code for View Profile and modified the login response