added comments and .get() method for the application class.
integrated the Spring Security with a default user in the
application-context.xml