Authentication and Authorization framework rolled into one