added password confirmation, about to add functionality for handling input errors