register template error rendering
added User model