Logando atraves de email do gmail, removendo MalFormedUrl, refactor