Removed static function calls on LoginActivity and RegisterActivity from User class
Implemented user logout