Fixed authentication.
Renamed sessions table to auth_tokens.