Refactored base class into User and Repository
bye bye