user details and editting and logout