some enhancements, add admin panel redirection, add two ports support