setting up login with simple-auth
require auth and adding logout