changes to view when user is admin