Update login to use ws auth