Added getting of the user groups properly and site lockdown. Still to test site lock down.