template for user detail