Another huge commit
First version of auth implementation