added and implemented basic form of password encryption and verification. Could maybe be done cleaner, but this will get the job done.