reduce site dependencies and add random password configuration option