'Log in as the user that created the library.
By default the user will not have staff access unless is_staff is passed as True.'

def log_in(self, user, is_staff=False):

    auth_page = AutoAuthPage(self.browser, staff=is_staff, username=user.get('username'), email=user.get('email'), password=user.get('password'))
    auth_page.visit()
