added secured password, printed user credentials using SecurityContextHolder and injection of UsernamePasswordAuthenticationToken