Authorization implemented (closed #5)