Created an integration test in aid of developement template. There are some strange errors occuring. Busy looking into it. Please have a look. Also refined SQL and useraccount management services