Added expected_elements to most of the Lookup page classes. Created a #log_in method for the Personnel module because we need a better way to log in for non $user objects.