Basic auth controller

Checks if user has an active session or not.