get rid of admin
refactored to use login instead of id in url