Add user settings page

Added new user settings page, added a few DB functions