bug in template for auth user