Add credential model.
Add accept-based error handler.
Add join view.
Setup flask-login.
Add login view.
Add unique to credential key.