Coded the basic login module