added password functions and interfaces, still needs adding a settings menu and teaking security issues with sha1