Add Authentication.
Added Logout