made changes to views and athorization