added login on index if you already regi'd