Added error when no username & password given