Adding no member exception

if there are no members you'll be redirected on another page