change views.login and create views.after_login; but flask doesn't recognize after_login...