added register, contact, working on login with flask_login