Authentication Manager

The auth manager handles login and user memberships
If all this are moved, then let's clean up this file from commented out code