added show user function and template