Little change to login, added logout in menu