Adds/modifies pages,pagination,navigation.
Modifies controller to add functions for login module