Added user login using the database