Added user login
Added user logout
Added login_required decorators