Added basic functionality for changing passwords