Login methods functionality and groupuserwrapper