Implemented basic login using Flask-Login.