Adding user authorization layer