Be sure to save user model when using `add_role_to_user` method for MongoEngineUserDatastore. Fixes #170
Show an error if a user tries to change their password and its the same as before. Fixes #160
Add the ability to specify additional fields on the user model that can be used for logging in.
this fixes #175
Use get_json instead of json

The `request.json` method now calls `get_json`, which raises `BadRequest` if there is no json data or some error with it. So, it cannot be directly used as a check for presence of json data. This code currently returns a bad request if content type is `application/json` but json data is empty.

https://github.com/mitsuhiko/flask/blob/master/flask/wrappers.py#L110
Prevent it from exploding if you try to log in with a user who has no password in the database.
login_without_confirmation should allow you to log in without confirmation
Update forms.py

Fixed: If login.next is not passed form throws error
Add flask_security.utils documentation for selected functions. Addressed #169
Document . Addresses #194
Fixes #196
Add `SECURITY_SEND_PASSWORD_RESET_NOTICE_EMAIL` config option to optionally send password reset notice emails. Addresses #199
Polish
Add AUTHORS file
Render auth token when registering a use with JSON
Add test to check SECURITY_LOGIN_WITHOUT_CONFIRMATION feature
Allows field labels to be set in config