Added user repository and created a database implementation for it