fix check login and passwords