Added the first bits of user authentication