Functions tested with presentation frontend. Only basic user info is stored now.