Login stage 3 complete

Used factory method to create objects.
route to parts of the site based on persontype