Moved Auth control to DB
Moved Auth control to DB