ok, have done all that and if UserActive=1 they are able to log in fine, but if UserActive=0 it redirects to this uri
http://clients.motley.site/domain/members.php?accesscheck=%2Fdomain%2Fmember-loggedin.php%3F
as a result the page is erroring....have attached the rules, login page and the logged in page. Not sure what I have done wrong