get rid of database and finish user validation