Added spring security with database authentication