Login system is now working
refactored login out to controller
Refactored login out into its own controller