adds dev/prod FB login differentiation and conditionals