Fixed login issue. also added delete confirmation dialog.