authentication and due dates working