sessions working and user can login and amend details