GPII-941: Improved the flow on user login, added tests for several components, added documentation for several components, fixed a few of the broken tests