Changed port number and if code

Made it so it checks both username and password in same if statement
and if one is wrong it states that credentials are wrong instead of
stating which is wrong
fixed .gitignore