Finished change password functionality
Various fixes over the last few months