create admin and frontend class, test salesking login via js, big cleanup