Login with password and Logout implemented

Logout with reseting navigation state implemented