admin backend finished; frontend logic