added ip to allowed_hosts and added social auth exception