Fixed layout issues due to bad csrf reference