Base Login ok, up to rails part