remove login/logout functions from main app function
Login/Logout WIP