login-logut and edit works