Migrated users table, implemented login functionality which seems to work