adding non api account login
filling in user schema
tweak group schema
removing redundant refs
fill in account login fn