fix authorization header to avoid dialog box
implemented authorized CRUD functions