fixed views.py bug

now it only adds an equation if the user doesn't have one.