fix compilation errors after putting spring security in