Adding "assigned" function to display tickets assigned to a user