Added ability to change password + minor fixes