various bug fixed primarily with the login process