Update class-main.php

Redirect member logged and wants to acces at lost password page to home