Applying data from user types in the session to load the correct pages