added time logic to user show