Omandtc sprsec

Updated database structure
Optimized spring security


space problems here and below