added better login on index
centered