Finished the first part, validate user with data base