Added groups array to user model