Reworked authentication so that it does not use session to store state token

Using session to store author data instead
Fixed several bugs