changed n to null
allowing cross site scripting for testing ionic
using tokens instead of sessions