TASKS BELOW DONE BY CHRIS:
-basic email functions added (doesn't send hash url yet)
-pagination added on viewusers and viewtickets pages