added authentication and tests. DONE :)