Added working authentication