Completed basic functions of login module
Completed login module completely