Redirecting to the correct view if the user can delete the activity or if he can not.