Url redirect on login and registration with FB