added routes, user settings and some tests for user data.