little bit more modular with user.py and AJAX stuff