logout and register button