Login Functionality Update

Updated some of the code in the login features, and commented the code.
Was not able to test the code, due to there being no database entries.