Changed get_ip function to just return REMOTE_ADDR