Add admin functionality login,logout and view from DB