Implemented the authentication string on both sides
Fixes a lot of issues