Implemented backend of user messages and started testing. Also added security environment for testing.