added new subuser db function
added endpoint for new subuser