added admin logout and tables for user index