login with user in users table
delete unused code