Change repo structure
Fix usage of undecoded signing key during server authentication Fix several bugs in profile query endpoint