Completed Logic - accountManagement.php

There was an issue with the update user function for a password.

Function still have to be move to external location
Comments still need to be done