Deactivate active project on logout, test for existence active project