rearranged a bit
added sending of emails, github auth is in the works