Completed basic authentication, login and logout