Added sessions and csrf token