created login/logout actions