Added auth handler + test