setup login, logout, authenticate and sessions controller