serverside and clientside login backbone