Basic authentication system complete (Can now login, logout and protect controllers)