Spring Security Login and Registration 

Code without cleanup First Draft