hey guys i tried all possible combinations and it wont work this is the top of my PHP file i`m trying to protect: PHP: session_start();include '../config.php';include("/home/primofli/public_html/members/library/Am/Lite.php");$_product_id = array(1,2,3,4,5);Am_Lite::getInstance()->checkAccess($_product_id, 'PROTECTEDAREANAME'); all i get when trying to open that file is: This web page has a redirect loop The web page at has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer. And another problem, in settings Login Page i setup this: Redirect after login: https://site.com/members.php I tried clearing cache and everything but it doesent redirect to that page after loggiin in also i cant figur out how to put a login/logout form with links no images on my other php pages