Adding password generation for allowed Players + fixing one bug