Database connection+spring security authentication fixed