allow using localhost as IP address for backend