login functional
setup for production