Implemented login method in Authentication
-Implemented permissions class
-Refactored main_login.php