Integration of $api in changePassword
Bugfixes
Began work on defineRoute