fixed signup.php empty password and home.php rate division by 0