i was asuming that i had an username in request.POST. Fix that.