Finished login, added comments

Added comments in some random places, first implementation of the Login
and tied the Login to the end of the Registration