index spec tests. revealed a few issues with the user model, which I fix...

...ed.