Moved setting user greeting to setMainApp since it relies on currentUser
Added UML