improved http post, added constants singleton, made it possible to add friends, totally redid friend search, wired up more backend