Changed login to modal view