Fix template to add getCurrent to User model only.

Before this change, `getCurrent` was added to every model defined.