plugin edits for admin panel login bug