Update get_database.php

Added some comments on where the functions per module starts and ends.
Added user update functions