1. Fixed minor issues
2. Implemented functional of login and logout (abstract)
Minor changes