Pass userID to template
Removes unused variable