Do auth check first
Do auth check first
Moved getPage to utils
Replaced accidentally removed upload