Created method loginCredentialsCommand()

Created new method loginCredentialsCommand(String u, String p) in class PasswordCommand. Logic needs checking though.