Fixed csrf token
Added ImmutableArray class
CS fix
Fixed db tests