Fix: update profile, login and logout
Update json infos after logging in, update logout logic, fixing user profile update by adding fields and adding unit tests
Update json infos after logging in, update logout logic, fixing user profile update by adding fields and adding unit tests