Now uses enums instead of multiple bools to track connection/login status
Major refactoring