Make sessions work, start implementing basic ErrorModel