Backend Update

-updated posts functionality and added additional api.php functionality
to handle post data

-added user registration and updating as well getting profile
information.