add a generic method that sets a user on an empty db
tests for detecting current