Added authorization and some views