refactor check if admin, add links in registration, add filter in admin page
merge