build_profile and sign_in redirect working correctly