Converted UserRepository to use Database Strategy