Testing and repositories
Added a getUser method
Controller tweaks