Fully implamented authorization