add. initial user authentication hooks via flask-login extension.