Changed login way