improved login for invitation mail :)