Added the basis for login code