Finish registration, login and logout and improve navigation