created login-logout functions
bootstrap action