Renamed some auth methods and created a force login function.
Tidying up files and the helper functions.
The auth library now uses static methods and variables which makes for cleaner code.