overhaul permissions and groups system, now using SQLite, update Makefile, and disallow spaces in usernames