Fix corrupted session bug, add admin