made mock repository, added loan controller