migrated to spring
removed async loading
added security
login now working