rendering templates for user login and registration