finished basic login
finishes log-in-log-out