Changed authentication view text colour to dark grey.
Added more documentation, also cleaned a little code.