Add simple login manager
Use the login manager