fixed dictionary, stripped whitespace from user input, added password encrytion