Adjusted fb login for aws server