Added auth and some other stuff

Milego mergowania, frajerze.