added owner to db schema, check for login