When logging in, check if the username is contained in the database users table. If not contained, create user in the table.