Fixed admin redirect issue