Added check login on login page