renamed
added authentication and general improvements