Update class-main.php

Redirect member logged and wants to acces at lost password page to home
Merge pull request #3 from asadowski10/patch-1

Update class-main.php